﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WMSNet.Core.Frameworks.Caching
{
    public interface ICacheProvider
    {
        ICacheKeyGenerator KeyGenerator { get; }
        TimeSpan GetExpirationTimeout(CacheKey key);
        void Put(CacheKey key, CachedObject cachedObj, TimeSpan expirationTimeout);
        CachedObject Get(CacheKey key);

    }
}
